﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Common.Logging;
using KeepAliveHttp.Http;
using Quartz;

namespace KeepAliveHttp.Job
{
    public class CleanJob : IJob
    {
        private ILog logger = LogManager.GetLogger(typeof(CleanJob));
        public void Execute(IJobExecutionContext context)
        {
            //清理sesion
            SessionManager.Clean();
            logger.Info("完成一次清理任务：" + DateTime.Now.ToLongTimeString());
        }
    }
}